package org.dylan.bdf.system.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.dylan.bdf.system.model.LogLevel;
import org.dylan.common.entity.AbstractUUIDEntity;
import org.hibernate.annotations.GenericGenerator;

/**
 * 系统日志记录
 * 
 * @author dylan
 * 
 */
@Entity
@Table(name = "SYS_LOG")
public class Log extends AbstractUUIDEntity {
	private static final long serialVersionUID = -8490679391958553165L;
	@Enumerated
	private LogLevel logLevel;
	private String logType;
	private String content;
	private String ipAddress;
	private String browser;
	private String webkit;
	private Date operateTime;
	private String logUser;

	public String getLogUser() {
		return logUser;
	}

	public void setLogUser(String logUser) {
		this.logUser = logUser;
	}

	public LogLevel getLogLevel() {
		return logLevel;
	}

	public void setLogLevel(LogLevel logLevel) {
		this.logLevel = logLevel;
	}

	public String getLogType() {
		return logType;
	}

	public void setLogType(String logType) {
		this.logType = logType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getIpAddress() {
		return ipAddress;
	}

	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}

	public String getBrowser() {
		return browser;
	}

	public void setBrowser(String browser) {
		this.browser = browser;
	}

	public String getWebkit() {
		return webkit;
	}

	public void setWebkit(String webkit) {
		this.webkit = webkit;
	}

	public Date getOperateTime() {
		return operateTime;
	}

	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}

}
